home *** CD-ROM | disk | FTP | other *** search
/ FishMarket 1.0 / FishMarket v1.0.iso / fishies / 076-100 / disk_087 / elib / liblink.asm < prev    next >
Assembly Source File  |  1992-05-06  |  473b  |  26 lines

  1. ;  liblink.asm -- jimm mackraz, oct 28, 1986
  2. ;  application side interface for C-routines calling example library
  3.  
  4.     include 'exec/types.i'
  5.     include 'exec/libraries.i'
  6.  
  7.     LIBINIT
  8.     LIBDEF    _LVOGetDown
  9.     LIBDEF    _LVODouble
  10.  
  11.     ; --- xref from application
  12.     public    _libbase
  13.  
  14.     ; --- xdef for application
  15.     public    _GetDown
  16.     public    _Double
  17.  
  18. _GetDown:
  19.     move.l    _libbase,a6
  20.     jmp        _LVOGetDown(a6)    
  21.  
  22. _Double:
  23.     move.l    4(sp),d0        ; first argument on stack
  24.     move.l    _libbase,a6
  25.     jmp    _LVODouble(a6)
  26.